package com.sinosoft.perfect.system._.vo;

public class TreeBean {
	
	/**
	 * 节点id
	 */
	private String id;
	
	/**
	 * 父节点id
	 */
	private String superId;
	
	/**
	 * 节点名称
	 */
	private String name;
	
	/**
	 * 节点状态
	 */
	private String status;
	
	/**
	 * 节点级别，最高1
	 */
	private Integer level;
	
	/**
	 * 节点是否选中，使用多选树时
	 */
	private Integer checked;
	
	/**
	 * 节点字体颜色
	 */
	private String fontColor;
	
	/**
	 * 节点是否有子节点
	 */
	private boolean hasChild;
	
	/**
	 * 节点类型
	 */
	private String type;
	
	public TreeBean() {
	}
	
	public TreeBean(String id, String name) {
		this.id = id;
		this.name = name;
	}
	
	public TreeBean(String id, String name, String type) {
		this.id = id;
		this.name = name;
		this.type = type;
	}
	
	public TreeBean(String id, String superId, String name, String status, Integer level) {
		this.id = id;
		this.superId = superId;
		this.name = name;
		this.status = status;
		this.level = level;
	}
	
	public TreeBean(String id, String superId, String name, String status, Integer level, boolean hasChild) {
		this.id = id;
		this.superId = superId;
		this.name = name;
		this.status = status;
		this.level = level;
		this.hasChild = hasChild;
	}
	
	public TreeBean(String id, String superId, String name, String status, Integer level, Integer checked) {
		this.id = id;
		this.superId = superId;
		this.name = name;
		this.status = status;
		this.level = level;
		this.checked = checked;
	}
	
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	
	public String getSuperId() {
		return superId;
	}
	
	public void setSuperId(String superId) {
		this.superId = superId;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getStatus() {
		return status;
	}
	
	public void setStatus(String status) {
		this.status = status;
	}
	
	public Integer getLevel() {
		return level;
	}
	
	public void setLevel(Integer level) {
		this.level = level;
	}
	
	public Integer getChecked() {
		return checked;
	}
	
	public void setChecked(Integer checked) {
		this.checked = checked;
	}
	
	public String getFontColor() {
		return fontColor;
	}
	
	public void setFontColor(String fontColor) {
		this.fontColor = fontColor;
	}
	
	public boolean isHasChild() {
		return hasChild;
	}
	
	public void setHasChild(boolean hasChild) {
		this.hasChild = hasChild;
	}
	
	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
}
